<?php

namespace app\models\user\gc;

use Yii;

/**
 * This is the model class for table "{{%users_huanjing_gc}}".
 *
 * @property int $id
 * @property int|null $uid
 * @property string|null $menweitu 门卫图片
 * @property string|null $chagnfangwaixingtu 厂房外形图片
 * @property string|null $chongrongfangtu 招商部
 * @property string|null $jishubutu 电商部
 * @property string|null $fengzhichejian 设计部
 * @property string|null $houdaochejian 技术部
 * @property string|null $caijianchejian 采购部
 * @property string|null $yangyijian 生产部
 * @property int|null $time 创建时间
 */
class UsersHuanjingGc extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%users_huanjing_gc}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid', 'time'], 'integer'],
            [['menweitu', 'chagnfangwaixingtu', 'chongrongfangtu', 'jishubutu', 'fengzhichejian', 'houdaochejian', 'caijianchejian', 'yangyijian'], 'string'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'menweitu' => 'Menweitu',
            'chagnfangwaixingtu' => 'Chagnfangwaixingtu',
            'chongrongfangtu' => 'Chongrongfangtu',
            'jishubutu' => 'Jishubutu',
            'fengzhichejian' => 'Fengzhichejian',
            'houdaochejian' => 'Houdaochejian',
            'caijianchejian' => 'Caijianchejian',
            'yangyijian' => 'Yangyijian',
            'time' => 'Time',
        ];
    }
}
